/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2022-05-11
 * Time: 19:08
 */
public class Test {
    public static void main(String[] args) {
        MyStack myStack=new MyStack();
        myStack.push(1);
        myStack.push(2);
        myStack.push(3);
        int num=myStack.pop();
        int num1=myStack.peek();
        System.out.println(num1);
        System.out.println(num);
    }
}
